package org.example.elm_xiangmu.service.impl;

import org.example.elm_xiangmu.mapper.FoodTypeMapper;
import org.example.elm_xiangmu.po.FoodType;
import org.example.elm_xiangmu.service.FoodTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FoodTypeServiceImpl  implements FoodTypeService {
    @Autowired
    private FoodTypeMapper foodTypeMapper;
    @Override
    public List<FoodType> listAll() {
        return foodTypeMapper.listAll();
    }
}
